import { use } from "echarts/core";
import { CanvasRenderer } from "echarts/renderers";
import {
  GridComponent,
  TooltipComponent,
  LegendComponent,
  TitleComponent,
} from "echarts/components";
import {
  LineChart,
  BarChart,
  PieChart,
} from "echarts/charts";

use([
  CanvasRenderer,
  GridComponent,
  TooltipComponent,
  LegendComponent,
  TitleComponent,
  LineChart,
  BarChart,
  PieChart,
]);

// 修改导出方式
import VueECharts from 'vue-echarts'
export default VueECharts